/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package downloader.IHM;

import javax.swing.JButton;
import javax.swing.JMenuBar;

/**
 *
 * @author Julien
 */
public class MainMenuBar extends JMenuBar {

    JButton addUrlButton = new JButton("Add URL");
    JButton settingsButton = new JButton("Settings");
    JButton exitButton = new JButton("Exit");

    public MainMenuBar(MainWindows myMainMenuWindows) {
        addUrlButton.addActionListener(myMainMenuWindows);
        this.add(addUrlButton);
        settingsButton.addActionListener(myMainMenuWindows);
        this.add(settingsButton);
        exitButton.addActionListener(myMainMenuWindows);
        this.add(exitButton);
    }

}
